.class public Lcom/instagram/android/fragment/a;
.super Lcom/instagram/e/b/c;
.source "AboutFragment.java"

# interfaces
.implements Lcom/instagram/a/b;


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 33
    invoke-direct {p0}, Lcom/instagram/e/b/c;-><init>()V

    return-void
.end method

.method private a(Landroid/view/LayoutInflater;Landroid/widget/ListView;)V
    .locals 4
    .parameter
    .parameter

    .prologue
    .line 80
    invoke-virtual {p0}, Lcom/instagram/android/fragment/a;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-static {v0}, Lcom/instagram/i/a;->c(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    .line 81
    const-string v1, "Instagram: v%s"

    const/4 v2, 0x1

    new-array v2, v2, [Ljava/lang/Object;

    const/4 v3, 0x0

    aput-object v0, v2, v3

    invoke-static {v1, v2}, Lcom/facebook/c/i/c;->a(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    .line 83
    sget v0, Lcom/facebook/ax;->row_version:I

    const/4 v2, 0x0

    invoke-virtual {p1, v0, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v2

    .line 84
    sget v0, Lcom/facebook/aw;->row_version_textview:I

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 85
    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 86
    invoke-virtual {p2, v2}, Landroid/widget/ListView;->addFooterView(Landroid/view/View;)V

    .line 87
    return-void
.end method


# virtual methods
.method public a(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 4
    .parameter
    .parameter
    .parameter

    .prologue
    const/4 v2, 0x0

    .line 70
    sget v0, Lcom/facebook/ax;->layout_listview:I

    invoke-virtual {p1, v0, p2, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    .line 71
    sget v1, Lcom/facebook/at;->gray_background:I

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setBackgroundResource(I)V

    .line 72
    invoke-virtual {v0, v2}, Landroid/widget/ListView;->setVerticalScrollBarEnabled(Z)V

    .line 73
    new-instance v1, Landroid/graphics/drawable/ColorDrawable;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/a;->j()Landroid/support/v4/app/j;

    move-result-object v2

    invoke-virtual {v2}, Landroid/support/v4/app/j;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    sget v3, Lcom/facebook/at;->gray_background:I

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getColor(I)I

    move-result v2

    invoke-direct {v1, v2}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 75
    invoke-direct {p0, p1, v0}, Lcom/instagram/android/fragment/a;->a(Landroid/view/LayoutInflater;Landroid/widget/ListView;)V

    .line 76
    return-object v0
.end method

.method public a()Lcom/instagram/a/a;
    .locals 1

    .prologue
    .line 39
    new-instance v0, Lcom/instagram/android/fragment/b;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/b;-><init>(Lcom/instagram/android/fragment/a;)V

    return-object v0
.end method

.method public a(Landroid/os/Bundle;)V
    .locals 4
    .parameter

    .prologue
    .line 91
    invoke-super {p0, p1}, Lcom/instagram/e/b/c;->a(Landroid/os/Bundle;)V

    .line 93
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 95
    new-instance v1, Lcom/instagram/ui/d/b;

    sget v2, Lcom/facebook/ba;->instagram_on_the_web:I

    invoke-direct {v1, v2}, Lcom/instagram/ui/d/b;-><init>(I)V

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 96
    new-instance v1, Lcom/instagram/ui/d/b;

    sget v2, Lcom/facebook/ba;->instagram_blog:I

    invoke-direct {v1, v2}, Lcom/instagram/ui/d/b;-><init>(I)V

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 98
    invoke-static {}, Lcom/instagram/service/b;->c()Z

    move-result v1

    if-eqz v1, :cond_0

    .line 99
    new-instance v1, Lcom/instagram/ui/d/b;

    sget v2, Lcom/facebook/ba;->about_ads:I

    const/4 v3, 0x0

    invoke-direct {v1, v2, v3}, Lcom/instagram/ui/d/b;-><init>(IZ)V

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 102
    :cond_0
    new-instance v1, Lcom/instagram/ui/d/c;

    invoke-direct {v1}, Lcom/instagram/ui/d/c;-><init>()V

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 104
    new-instance v1, Lcom/instagram/ui/d/b;

    sget v2, Lcom/facebook/ba;->terms_of_service:I

    invoke-direct {v1, v2}, Lcom/instagram/ui/d/b;-><init>(I)V

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 105
    new-instance v1, Lcom/instagram/ui/d/b;

    sget v2, Lcom/facebook/ba;->about_libraries:I

    invoke-direct {v1, v2}, Lcom/instagram/ui/d/b;-><init>(I)V

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 106
    new-instance v1, Lcom/instagram/ui/d/b;

    sget v2, Lcom/facebook/ba;->privacy_policy:I

    invoke-direct {v1, v2}, Lcom/instagram/ui/d/b;-><init>(I)V

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 108
    new-instance v1, Lcom/instagram/ui/d/h;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/a;->j()Landroid/support/v4/app/j;

    move-result-object v2

    invoke-direct {v1, v2}, Lcom/instagram/ui/d/h;-><init>(Landroid/content/Context;)V

    .line 109
    invoke-virtual {v1, v0}, Lcom/instagram/ui/d/h;->a(Ljava/util/Collection;)V

    .line 110
    invoke-virtual {p0, v1}, Lcom/instagram/android/fragment/a;->a(Landroid/widget/ListAdapter;)V

    .line 112
    return-void
.end method

.method public d(Landroid/os/Bundle;)V
    .locals 2
    .parameter

    .prologue
    .line 116
    invoke-super {p0, p1}, Lcom/instagram/e/b/c;->d(Landroid/os/Bundle;)V

    .line 118
    invoke-virtual {p0}, Lcom/instagram/android/fragment/a;->j_()Landroid/widget/ListView;

    move-result-object v0

    new-instance v1, Lcom/instagram/android/fragment/c;

    invoke-direct {v1, p0}, Lcom/instagram/android/fragment/c;-><init>(Lcom/instagram/android/fragment/a;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    .line 160
    return-void
.end method

.method public d_()Ljava/lang/String;
    .locals 1

    .prologue
    .line 164
    const-string v0, "about"

    return-object v0
.end method
